<?php

declare(strict_types=1);

namespace App\Model;

use Hyperf\DbConnection\Model\Model;

/**
 * @property int $id 
 * @property int $course_id 
 * @property int $course_tag_id 
 */
class CourseTagPivot extends Model
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'course_tag_pivot';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'course_id', 'course_tag_id'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'course_id' => 'integer', 'course_tag_id' => 'integer'];
}
